KnitPay\Gateways\Paypal\Integration S

Total Complexity 29
Dependencies 4
Dependents 0
Total lines 339
Lines of code 232
Logical lines of code 88
Comment lines 54
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
get_oauth_connect_button_fields()
A
40 5 69
save_token()
S
58 5 14
__construct()
S
54 2 22
show_common_setting_fields()
S
51 1 30
get_oauth_connection_status_fields()
S
52 1 28
get_gateway()
S
62 2 12
add_paypal_partner_id()
S
69 2 6
gateway_configuration_display_value()
S
75 2 4
get_oauth_token_request_body()
S
74 2 4
save_post()
S
69 2 7
get_child_config()
S
62 1 11
setup()
S
65 1 10
clear_child_config()
S
68 1 7
is_oauth_connected()
S
80 1 3
configure_webhook()
S
72 1 5